package com.bdth.weget.net.thread;

import com.bdth.weget.net.service.ByteMessageService;

/**
 * Created by Administrator on 2018/4/16.
 */
public class ByteLogThread extends Thread {
    private ByteMessageService byteMessageService;
    public ByteLogThread(ByteMessageService byteMessageService){
        this.byteMessageService = byteMessageService;
    }

    @Override
    public void run() {
        while(true){
            byteMessageService.read();
        }
    }
}
